@import "reset.css";
@import "scss_common";
$color1: #00fff0;
$color2:#008078;
$orange:#ff6400;
.flex-box {
    @extend %flex_box;
}

html {
    height: 100%;
}

body {
    background: url();
    background-size: cover
}

a {
    color: #fff;
}

.noborder {
    border: none !important;
    color: #008080;
    line-height: 24px;
}
/*ZTREE*/
.ztree li a {
    color:#01fcf0;
}
.checkbox_true_part + .level0>.node_name,
.checkbox_true_part + .level1>.node_name,
.checkbox_true_part + .level2>.node_name,
.checkbox_true_part + .level3>.node_name,
.checkbox_true_full + .level0>.node_name,
.checkbox_true_full + .level2>.node_name,
.checkbox_true_full + .level1>.node_name,
.checkbox_true_full + .level3>.node_name{
    color: #ff6400;

}


.ztree{
    //margin-top: 30px;
}
.zTreeDemoBackground {
}
.ztree li span.button.ico_open,.ztree li span.button.ico_close,.ztree li span.button.ico_docu{
    display: none;
}


.page {
    width: 100%;
    //min-width:1200px;
    margin: 0 auto;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    //overflow: hidden;
}

.header-top {
    padding-top: 20px;
    height: 100px;
    background:rgba(0,0,0,.5);
    position: relative;
    .logo {
        @include whj(60, 60);
        display: block;
        float: left;
        margin-left: 20px;
        font-size: 60px;
        color: #b90f21;

    }
    .title {
        margin-left: 20px;
        float: left;
        p {
            color: #01fcf0;
            font-size: 32px;
            margin-bottom: 10px;
        }
        span {
            font-size: 16px;
            color: #99a5a7;
        }
    }
}

.user-options {
    font-size: 14px;
    position: absolute;
    right: 10px;
    color: #02fdff;
    top: 10px;
    .user {
        margin-right: 5px;
    }
    .line {
        color: #c0c7c9;
    }
    a {
        margin-left: 5px;
        color: #01fcf0;
    }
}

.top-notice {
    position: absolute;
    right: 10px;
    top: 35px;
    height: 25px;
    overflow: hidden;
    width: 457px;
    border: 1px solid #127c7b;
    float: left;
    padding-left: 50px;
    background: #0a272c;
    ul {
        li {
            height: 25px;
            line-height: 25px;
            a {
                display: block;
                font-size: 12px;
                color: #ff6400;
            }

        }
    }
    &:after {
        content: '';
        width: 8px;
        height: 8px;
        position: absolute;
        left: 22px;
        top: 50%;
        margin-top: -4px;
        background: #ff6400;
        opacity: 1;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        animation-name: fade-dot;
        -webkit-animation-name: fade-dot;
        animation-duration: .8s;
        -webkit-animation-duration: .8s;
        animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
        animation-iteration-count: infinite;
        -webkit-animation-iteration-count: infinite;
    }
}

.main-menu {
    position: absolute;
    right: 10px;
    width: 580px;
    bottom: 0;
    .date {
        font-size: 14px;
        color: #01fcf0;
        float: left;
        display: inline-block;
        vertical-align: middle;
        margin-top: 7px;
    }

    ul {
        float: right;
        text-align: right;
        li {
            display: inline-block;
            float: left;
            margin-left: 10px;
            a {
                font-size: 16px;
                display: block;
                height: 24px;
                padding: 0 10px;
                line-height: 24px;
                color: #ccc;
                background: #51686d;
                border-bottom: 1px solid #ddd;
                i {
                    font-size: 18px;
                    vertical-align: middle;
                }
                span {
                    padding-left: 5px;
                }
            }
            &.active {
                a {
                    background: rgba(0, 255, 153, 0.2);
                    color: #00ff99;
                    border-bottom: 1px solid #01fcf0;
                }
            }
        }
    }
}

.header-bottom {
    height: 40px;
    margin-top: 10px;
    .home {
        background: rgba(0,0,0,.5);
        width: 40px;
        height: 40px;
        display: block;
        float: left;
        position: relative;
        i {
            font-size: 20px;
            color: #01fcf0;
            position: absolute;
            left: 50%;
            top: 50%;
            margin-left: -10px;
            margin-top: -10px;
        }
    }
    .bread-thumb {
        font-size: 16px;
        padding: 0 10px;
        background:rgba(0,0,0,.5);
        float: left;
        height: 40px;
        margin-left: 10px;
        line-height: 40px;
        span {
            color: #ff6400;
        }
        i {
            color: #01fcf0;
            margin: 0 10px;
        }
    }
    .rbg {
        background: url("../images/rbg.png") no-repeat;
        width: 60px;
        height: 40px;
        float: left;
    }
    .lbg {
        float: right;
        width: 60px;
        height: 40px;
        background: url("../images/lbg.png") no-repeat;
    }

    .menu {
        height: 40px;
        float: right;
        background: rgba(0,0,0,.5);
        width: 970px;
        .prev-menu-btn, .next-menu-btn {
            @include whj(30, 30);
            display: inline-block;
            text-align: center;
            float: left;
            line-height: 30px;
            position: relative;
            top: 5px;
            color: #fff;
            cursor: pointer;
            font-size:22px;
            background: #03262d;
            &:hover{
                color: $color1;
            }
        }
        .menu-box{
            position: relative;
            height: 32px;
            width: 900px;
            float: left;
        }
        .menu-wrapper{
            position: relative;
            top: 2px;
            width: 900px;
            overflow: hidden;
            float: left;
        }
        .menu-leave1 {
            width: 2000px;
            display: inline-block;
            font-size: 0;
            li {
                display: inline-block;
                height: 30px;
                //width: 100px;
                position: relative;
                top: 3px;
                margin: 0 5px;
                float: left;
                &:hover{
                    .nav-leave2-wrapper{
                        display: block;
                    }
                }
                a {
                    cursor: default;
                    padding: 0 10px;
                    font-size: 16px;
                    height: 30px;
                    //width: 100px;
                    line-height: 30px;
                    display: block;
                    background: rgba(81, 104, 109, 0.48);
                    color: #ccc;
                    text-align: center;
                    span {
                        //padding-left: 30px;
                        margin-left: 12px;
                        position: relative;
                        //top: -1px;
                    }
                    i{
                        font-size: 14px;
                    }
                    &:hover{
                        color: #fff;
                    }
                }
                &.active {
                    a {
                        color: #01fcf0;
                    }
                }
            }
        }
        .menu-leave2-wrapper{
            position: absolute;
            top: 30px;
            left: 0;
            padding-top: 10px;
                display: none;


        }
        .menu-leave2{
            position: relative;
            z-index: 9;
            background: rgba(0,0,0,.8);
            overflow: hidden;
            padding-bottom: 5px;

            li{
                top: 0;
                margin: 0;
                text-align: center;
                width: auto;
                height: 34px;
                a{
                    padding:0 46px;
                    display: block;
                    line-height: 34px;
                    height: 34px;
                    font-size: 14px;
                    -webkit-box-sizing: content-box;
                    -moz-box-sizing: content-box;
                    box-sizing: content-box;
                    white-space: nowrap;
                    width: auto;
                    background: url(../images/line-13-13.svg) no-repeat center bottom;
                    color: $color1;
                    cursor: pointer;
                    &:hover{
                        color: $orange;
                        position: relative;
                    }

                }
            }
        }
        position: relative;
    .sub-menu{
        //display: none;
        padding-top: 12px;
        position: absolute;
        width:888px;
        top: 32px;
        left: 5px;

        .inner{
            background: rgba(0,0,0,.8);
            li{
                display: none;
                color: $color1;
                padding:13px 0 0 15px;
                a{
                    display: inline-block;
                    margin-bottom: 10px;
                    color: $color1;
                    font-size: 14px;
                    &.active{
                        color: $orange;
                        &:hover{
                            color: $orange;
                        }
                    }
                    &:hover{
                        color: $color1;
                    }
                }

                span{
                    margin:0 5px;
                    color: rgba(255,255,255,0.2);
                }

            }
        }


    }
    }
}

.content {
    width: 100%;
    position: absolute;
    top: 170px;
    right: 0;
    bottom: 0;
    left: 0;
    //min-width: 1200px;
    margin: 0 auto;
    overflow: hidden;

    .extend {
        padding-top:45px;
        width: 280px;
        position: fixed;
        top: 170px;
        bottom: 0;
        left: -254px;
        overflow: hidden;
        background: url(../images/extend-btn.png) no-repeat right center;
        -webkit-background-size: contain;
        background-size: contain;
        //float: left;
        z-index: 99;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        -o-transition: all .3s;
        transition: all .3s;
        .search-box{
            background: rgba(0, 0, 0, 0.8);
            position: absolute;
            left: 0;
            top: 0;
            width: 254px;
            height: 45px;
            padding: 10px;
            .search-ipt{
                border:1px solid #02fdff;
                width: 146px;
                height: 23px;
                color: #fff;
                padding-left: 10px;
            }
        }
    }
    .zTreeDemoBackground {
        width: 254px;
        overflow: auto;
        height: 100%;
        background: rgba(0, 0, 0, .8);
    }

    .extend-btn {
        width: 20px;
        height: 20px;
        position: absolute;
        right: 0;
        z-index: 9;
        top: 50%;
        margin-top: -10px;
        border: 1px solid #02fdff;
        @extend %brs50;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        -ms-transition: all .3s;
        -o-transition: all .3s;
        transition: all .3s;
        i {
            position: absolute;
            top: 50%;
            left: 50%;
            font-size: 16px;
            margin-left: -8px;
            margin-top: -8px;
        }

    }
    .content-right {
        position: absolute;
        overflow: hidden;
        left: 50px;

        right: 0;
        bottom: 0;
        top: 0;
        .container-wrapper {
            position: absolute;
            margin-top: 10px;
            left: 0;
            top: 40px;
            right: 0;
            bottom: 0;
            overflow-y: auto;
            .container {
                //height: 1000px;
            }
        }
    }
}

.panel-hd {
    height: 40px;
    color: #02fdff;
    padding: 5px 0 5px 10px;
    background: #0a232c;
    @extend %verAC;
    position: relative;
    z-index: 9;
    .options {
        @extend %flex_box;
        li {
            border: 1px solid #00d2ca;

            margin-right: 5px;
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            border-radius: 3px;
            a {
                display: block;
                padding: 5px 10px;
            }
        }
    }
}

.radio-model {
    margin-right: 10px;
    color: #02fdff;
    cursor: default;
    i {
        background: #446b73;
        @include whj(16, 16);
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        display: inline-block;
        vertical-align: middle;
        position: relative;
        margin-right: 5px;
        &:after {
            width: 8px;
            height: 8px;
            content: '';
            background: #999;
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            position: absolute;
            margin-left: -4px;
            margin-top: -4px;
        }
    }
    &.checked {
        i {
            &:after {
                background: #bc0d23;
            }
        }
    }

}

.datepicker-wrapper {
    input {
        border: 1px solid #00d2ca;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        padding: 3px 0;
    }

    position: relative;
    .float-datepciker-wrapper {
        width: 350px;
        position: absolute;
        max-height: 46px;
        overflow-y: auto;
        top: 30px;
        left: 0;
        background: #002222;
        color: #02fdff;
        s {
            text-decoration: none;
            margin-left: 10px;
        }
    }
}

.plus-datepicker, .minus-datepicker {
    @include whj(20, 20);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: #02fdff;
    text-align: center;
    line-height: 15px;
    margin-left: 20px;
    border: 1px solid #02fdff;
    display: inline-block;
}

.r-options {
    width: 300px;
    float: right;
    @extend %flex_box;
    position: absolute;
    right: 0;
    .select-modal {
        position: relative;

        span {
            padding: 5px 20px 5px 15px;
            display: block;
            width: 100%;
            border: 1px solid #02fdff;
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            border-radius: 3px;
            cursor: pointer;
            &:after {
                @extend %after;
                position: absolute;
                right: 5px;
                top: 50%;
                margin-top: -1px;
                width: 0;
                height: 0;
                border-left: 5px solid transparent;
                border-right: 5px solid transparent;
                border-top: 5px solid #02fdff;
                font-size: 0;
                line-height: 0;
            }
        }
        ul {
            position: absolute;
            z-index: 9;
            width: 100%;
            border: 1px solid #02fdff;
            margin-top: -1px;
            border-bottom: none;
            display: none;
            li {
                width: 100%;
                a {
                    display: block;
                    text-align: center;
                    color: #02fdff;
                    padding: 5px 10px;
                    border-bottom: 1px solid #02fdff;
                    &:hover {
                        background: #02fdff;
                        color: #000;
                    }
                }
            }
        }
    }
}

.search-btn {
    border: 1px solid #02fdff;
    padding: 4px 13px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #02fdff;
    margin-left: 10px;
    span {
        padding-left: 10px;
    }
}

.excel-btn {
    margin-left: 10px;
    border: 1px solid #02fdff;
    padding: 4px 13px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #02fdff;
}

.extended {
    .extend {
        //width: 280px;


        overflow: auto;
        left: 0;
        z-index: 99;
    }
    .extend-btn {
        //display: none;
        i {
            -webkit-transform: rotate(-180deg);
            -moz-transform: rotate(-180deg);
            -ms-transform: rotate(-180deg);
            -o-transform: rotate(-180deg);
            transform: rotate(-180deg);
        }
    }
    .content-right {
        //left: 290px;
    }
}

#chart1 {
    width: 100%;
    height: 350px;
    background: #052c35;

}

#chart2 {
    margin: 0 20px 0 10px;
    width: 30%;
    height: 350px;
    float: right;
    background: #052c35;
    text-align: center;
    h2 {
        font-size: 16px;
        color: #02fdff;
        padding-top: 20px;
    }
    ul {
        padding: 20px;
        li {
            margin-bottom: 20px;
            @extend %verAC;
            .inner {
                background: #00252e;
                width: 95%;
                height: 30px;
                margin-right: 10px;
                position: relative;
                p {
                    position: absolute;
                    height: 20px;
                    left: 0;
                    top: 5px;
                    background: #04fa99;
                }
            }

        }
    }
}

.chart3-wrapper {
    @extend %flex_box;
    h2 {
        font-size: 16px;
        text-align: center;
        color: #02fdff;
        padding: 20px 0;
    }
    .inner {
        @extend %flex;
        margin-right: 20px;

        background: #00404c;
        margin-top: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    #chart3 {
        width: 100%;
        min-height: 400px;
    }
}

.common-wrapper {
    background: rgba(0,0,0,.2);
    margin-top: 20px;
    margin-right: 20px;
    .inner {
        padding: 20px;
        //height: 1000px;
        .title {
            font-size: 18px;
            color: #02fdff;
            //background: #0a232c;
            text-align: center;
        }

        .hd {
            background: #001d21;
            @extend %flex_box;
            padding: 20px;
            margin-top: 15px;
            position: relative;
            .time,.unit {
                color: #256863;
                text-align: center;
                span {
                    color: #02fdff;
                    display: block;
                    margin-top: 10px;
                }
            }
            .unit{
                position: absolute;
                right: 20px;
            }
            ul {
                @extend %flex_box;
                margin-left: 50px;
                li {
                    text-align: center;
                    margin-right: 20px;
                    .color-box {
                        width: 10px;
                        height: 10px;
                        margin: 0 auto 10px;

                    }
                }
                .blue {
                    color: #18bbff;
                    .color-box {
                        background: #18bbff;
                    }
                }
                .green {
                    color: #19ff86;
                    .color-box {
                        background: #19ff86;
                    }
                }
                .orange {
                    color: #fd4c01;
                    .color-box {
                        background: #fd4c01;
                    }
                }

            }
        }
        .bd{
            .table-wrapper{
                width: 100%;
                overflow-x: scroll;
            }
            .device-table{
                float: left;

            }
            table{
                thead{
                    th{
                        background: rgba(0,0,0,.2);
                        padding: 10px;
                        border:10px solid #0e2c37;
                    }
                }
            }
            tbody{
                th{
                    width: 50px;
                    background: #05282c;
                    border:10px solid #0e2c37;
                    vertical-align: middle;

                }
                td{
                    border:10px solid #0e2c37;
                    background: rgba(0,0,0,.1);
                    padding: 10px;
                    ul{
                        li{
                            @extend %flex_box;
                            height: 10px;
                            margin-bottom: 8px;
                            .color-box-wrapper{
                                position: relative;
                                width: 85%;
                                p{
                                    position: absolute;
                                    left: 0;
                                    top: 0;
                                    height: 10px;
                                    //width: 80%;

                                }
                            }
                            .value{
                                @extend %flex;
                                text-align: center;
                            }
                            &:last-child{
                                margin-bottom: 0;
                            }
                        }

                    }
                }
            }
        }
    }
    .inner-scroll{
    }
}


#datePickerBox {
    padding-left: 5px;
}

.textarea-hidden {
    display: none;
}

.show-week-wrapper {
    position: relative;
}

#type-week {
    color: transparent;
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 0;
}

.show-week {
}

input.date_picker_97 {
    background: transparent;
    border: 1px solid #00d2ca;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 3px 0 3px 3px;
    color: #fff;
    width: 179px;
    line-height: 25px;
    height: 24px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.textarea-hidden {
    display: none;

}

span.zhi {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 2px 4px;
    margin: 0 5px;
    border: none;
    color: #008080;

}

.btn_on {
    background-color: #1F6F7F
}

.range_switch_btns {
    margin-right: 10px;

}

.loading {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 9;
    //display: none;
}

.vw_fl {
    position: relative;
}

.more-range {
    position: absolute;
    left: 0;
    top: 32px;
    max-height: 100px;
    background: rgb(20, 55, 62);
    overflow-y: auto;
    width: 117%;
    padding: 10px 0;

}

.more-item {
    margin-bottom: 10px;
}

.mb0 {
    margin-bottom: 0;
}

.blue {
    color: #18bbff;
    .color-box {
        background: #18bbff;
    }
}
.green {
    color: #19ff86;
    .color-box {
        background: #19ff86;
    }
}
.orange {
    color: #fd4c01;
    .color-box {
        background: #fd4c01;
    }
}

.or.flex-box {
    @extend %flex_box;
}





.color1 {
    color: #18bbff;
    .color-box {
        background: #18bbff;
    }
}
.color2 {
    color: #19ff86;
    .color-box {
        background: #19ff86;
    }
}
.color3 {
    color: #fd4c01;
    .color-box {
        background: #fd4c01;
    }
}

.color4 {
    color: #fd68c7;
    .color-box {
        background: #fd68c7;
    }
}
.svg-loading{
    width: 120px;
    height: 120px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    svg{
        margin: 0;
        padding: 0;
    }
}
.table-box{
    width: 100%;
}

#ztree-loading{
    width: 20px;
    height: 20px;
    margin-left:-20px;
    left: 50%;
    top: 30px;
    position: absolute;
}

.ztree li {
    margin-bottom: 5px;
}

.ztree li ul {
    margin: 5px 0;
}
.ztree *{
    font-size: 14px;
}

.equ-search{
    position: absolute;
    left: 190px;
    top: 10px;
    span{
        margin-right: 10px;
        color: $color2;
    }
    input{
        color: #00fff0;
        height: 12px;
        padding: 5px 20px 5px 15px;
        border: 1px solid #0c615b;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        width: 150px;
    }
}